# Contributor: Matthias Ahouansou <matthias@ahouansou.cz>
# Maintainer: Matthias Ahouansou <matthias@ahouansou.cz>
pkgname=tree-sitter-ini
pkgver=1.1.1
pkgrel=0
pkgdesc="tree-sitter grammar/parser for INI files"
url="https://github.com/justinmk/tree-sitter-ini"
arch="all"
license="Apache-2.0"
makedepends="tree-sitter-dev"
install_if="tree-sitter-grammars"
source="$pkgname-$pkgver.tar.gz::https://github.com/justinmk/tree-sitter-ini/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # no tests for shared lib

build() {
	abuild-tree-sitter build
}

package() {
	DESTDIR="$pkgdir" abuild-tree-sitter install
}

sha512sums="
0221b716558eabc433129739bf84ae93ba721d3d5b607db7ee48e2333cd5ffee5c9777b9814dc327829a3da7047d9a461f0ac07e00fe787b40565a76a4ccc94c  tree-sitter-ini-1.1.1.tar.gz
"
